package com.aishua.andpaydemo.fragment.messagefragment;

import android.os.Bundle;
import android.support.annotation.Nullable;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ImageView;

import com.aishua.andpaydemo.ImageloaderHelper;
import com.aishua.andpaydemo.R;
import com.aishua.andpaydemo.fragment.BaseFragment;

/**
 * Created by aishua on 2018/5/18.
 */

public class ShangjiaFragment extends BaseFragment {

    private ImageView img_weiduxiaoxi;
    @Nullable
    @Override
    public View onCreateView(LayoutInflater inflater, @Nullable ViewGroup container, Bundle savedInstanceState) {

       View view = View.inflate(getContext(), R.layout.fragment_xitontuisong,null);
        initView(view);
        return view;
    }
    private void initView(View view) {

        img_weiduxiaoxi = view.findViewById(R.id.img_weiduxiaoxi);
        ImageloaderHelper.dispalyImage(getContext(),R.drawable.weiduxiaoxi,img_weiduxiaoxi);

    }
}
